\hypertarget{RootFindingPegaso_8c}{
\subsection{src/RootFindingPegaso.c File Reference}
\label{RootFindingPegaso_8c}\index{src/RootFindingPegaso.c@{src/RootFindingPegaso.c}}
}
/root-finding/src/RootFindingPegaso.c 

{\tt \#include \char`\"{}RootFindingPegaso.h\char`\"{}}\par
{\tt \#include \char`\"{}messages/RootFindingMessages.h\char`\"{}}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$math.h$>$}\par
\subsubsection*{Functions}
\begin{CompactItemize}
\item 
static void \hyperlink{group____pegaso_g755ddb4e92d010ac22e88d32e7fcec6f}{setError} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj, int errorCode)
\begin{CompactList}\small\item\em Set error code and change state to PEGASO\_\-ERROR\_\-FOUND. \item\end{CompactList}\item 
static void \hyperlink{group____pegaso_g0496f8f88be7280598d9cce2a1e622f0}{resetError} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\item 
\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$ \hyperlink{group____pegaso_g1717ab621ccdb5d78bc3133ad52805c2}{RootFindingPegasoCreate} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Cria um objeto do tipo struct \hyperlink{structRootFindingPegaso}{RootFindingPegaso}. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_31228d356f5429fa5ba7f206e4dee12f}{RootFindingBoolT} \hyperlink{group____pegaso_gf4d7f58905c8f5ed3ed3feb77c71b7cc}{RootFindingPegasoInit} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Inicializa o objeto \hyperlink{structRootFindingPegaso}{RootFindingPegaso}. \item\end{CompactList}\item 
void \hyperlink{group____pegaso_gea8cce31a68dcb1d7b2aa3e48d114366}{RootFindingPegasoDelete} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Apaga a instancia do objeto \hyperlink{structRootFindingPegaso}{RootFindingPegaso}. \item\end{CompactList}\item 
static \hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} \hyperlink{group____pegaso_gc404fd69441e2b99f44b18fe14d4fc48}{getNextX} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Obtem o valor para o proximo x. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_31228d356f5429fa5ba7f206e4dee12f}{RootFindingBoolT} \hyperlink{group____pegaso_g983282553d9cd96ebd2155b5f939aada}{RootFindingPegasoPerformIteration} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Realiza a iteracao. \item\end{CompactList}\item 
int \hyperlink{group____pegaso_g6b27d39dab4f225185c07eb6fbb22ff9}{RootFindingPegasoGetErrorCode} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Obtem o codigo de erro. \item\end{CompactList}\item 
int \hyperlink{group____pegaso_g83892750b865aa977fcdba83922ad6fb}{RootFindingPegasoGetStateCode} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Obtem o codigo referente ao estado do objeto. \item\end{CompactList}\item 
const char $\ast$ \hyperlink{group____pegaso_g4d0abd516b71e0462de1b22ce896b87a}{RootFindingPegasoGetErrorMessage} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Obtem a mensagem de erro. \item\end{CompactList}\item 
const char $\ast$ \hyperlink{group____pegaso_g2328683ae067772b11e3127fe800448d}{RootFindingPegasoGetStateMessage} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Obtem a mensagem referente ao estado do objeto. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_31228d356f5429fa5ba7f206e4dee12f}{RootFindingBoolT} \hyperlink{group____pegaso_g3159b35cddebb0bdc99b85199fbc847f}{RootFindingPegasoHasError} (\hyperlink{structRootFindingPegaso}{RootFindingPegasoT} $\ast$pegasoObj)
\begin{CompactList}\small\item\em Verifica se ha erros. \item\end{CompactList}\end{CompactItemize}
\subsubsection*{Variables}
\begin{CompactItemize}
\item 
static char \hyperlink{RootFindingPegaso_8c_e6f024d5924f8ecf7500cedfab2c0606}{msg} \mbox{[}255\mbox{]}
\end{CompactItemize}


\subsubsection{Detailed Description}
/root-finding/src/RootFindingPegaso.c 

\begin{Desc}
\item[Date:]25/03/2010 \end{Desc}
\begin{Desc}
\item[Author:]Matheus Neder $<$\href{mailto:matheusneder@gmail.com}{\tt matheusneder@gmail.com}$>$ \end{Desc}


Definition in file \hyperlink{RootFindingPegaso_8c-source}{RootFindingPegaso.c}.

\subsubsection{Variable Documentation}
\hypertarget{RootFindingPegaso_8c_e6f024d5924f8ecf7500cedfab2c0606}{
\index{RootFindingPegaso.c@{RootFindingPegaso.c}!msg@{msg}}
\index{msg@{msg}!RootFindingPegaso.c@{RootFindingPegaso.c}}
\paragraph[msg]{\setlength{\rightskip}{0pt plus 5cm}char {\bf msg}\mbox{[}255\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}\hfill}
\label{RootFindingPegaso_8c_e6f024d5924f8ecf7500cedfab2c0606}




Definition at line 173 of file RootFindingPegaso.c.